
//
//  MyJourneyButton.m
//  didihaha
//
//  Created by 赵忠鹏 on 2017/8/21.
//  Copyright © 2017年 zhaozhongpeng. All rights reserved.
//

#import "MyJourneyButton.h"

@implementation MyJourneyButton
- (void)layoutSubviews
{
    [super layoutSubviews];
    CGFloat labelWidth = self.titleLabel.frame.size.width;
    CGFloat imageWith = self.imageView.frame.size.width;
    self.imageEdgeInsets = UIEdgeInsetsMake(0, labelWidth, 0, -labelWidth);
    self.titleEdgeInsets = UIEdgeInsetsMake(0, -imageWith, 0, imageWith);
    
    self.imageView.bounds = CGRectMake(0, 0, 5, 8);
    
}

@end
